package com.ruoyi.student.mapper;

import java.util.List;
import com.ruoyi.student.domain.StudentBaodao;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 新生报到Mapper接口
 *
 * @author gdslovehy
 * @date 2025-05-22
 */
@Mapper
public interface StudentBaodaoMapper
{
    /**
     * 查询新生报到
     *
     * @param id 新生报到主键
     * @return 新生报到
     */
    public StudentBaodao selectStudentBaodaoById(String id);

    /**
     * 查询新生报到列表
     *
     * @param studentBaodao 新生报到
     * @return 新生报到集合
     */
    public List<StudentBaodao> selectStudentBaodaoList(StudentBaodao studentBaodao);

    /**
     * 新增新生报到
     *
     * @param studentBaodao 新生报到
     * @return 结果
     */
    public int insertStudentBaodao(StudentBaodao studentBaodao);

    /**
     * 修改新生报到
     *
     * @param studentBaodao 新生报到
     * @return 结果
     */
    public int updateStudentBaodao(StudentBaodao studentBaodao);

    /**
     * 删除新生报到
     *
     * @param id 新生报到主键
     * @return 结果
     */
    public int deleteStudentBaodaoById(String id);

    /**
     * 批量删除新生报到
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteStudentBaodaoByIds(String[] ids);

    public List<StudentBaodao> selectStudentBaodaoByIds(String[] ids);

    List<StudentBaodao> selectStudentBaodaoIdsByCollegeCodes(@Param("collegeCodes") List<String> collegeCodes,@Param("studentBaodao") StudentBaodao studentBaodao);
}
